package com.BlackHourse.P1.demo1;

public class MountainDemo {
    public static void main(String[] args) {
        int mountains = 8844430;
        double pager = 0.1;
        int nums = 0;

        while (pager<=mountains){
            pager *=2;

            nums++;
        }

        System.out.println("一共需要折叠"+nums+"次");
    }
}
